<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
	<head th:replace="/pc/common::head(~{::custom_settings})">
		<th:block th:fragment="custom_settings">
			<title>商户入驻</title>
		</th:block>
	</head>
	<body>
		<div class="mini-tools" style="text-align: left; height:40px; line-height:40px; padding: 2px 0 0 0;">
       		<input property="query" class="search-button blue" onclick="add();" type="button" value="新增" style="margin-left: 10px; height:26px; line-height: 26px; padding: 0;width:68px; "/>
       		<input property="query" class="search-button blue" onclick="edit();" type="button" value="编辑" style="margin-left: 10px; height:26px; line-height: 26px; padding: 0;width:68px; "/>
       		<input property="query" class="search-button blue" onclick="del();" type="button" value="删除" style="margin-left: 10px; height:26px; line-height: 26px; padding: 0;width:68px; "/>
       		<input property="query" class="search-button blue" onclick="recyclerest();" type="button" value="恢复" style="margin-left: 10px; height:26px; line-height: 26px; padding: 0;width:68px; "/>
       	</div>
		<div id="isQuery" class="develop" style="display:none;">
		    <table>
		        <tr>
		            <td><label>关键字</label></td>
		            <td>
		                <div id="keyword" name="keyword" class="search-textbox" width="200" height="25"></div>
		            </td>
		            <td><input class="org-search" type="button" onclick="onSearch();" value="查询"/></td>
		        </tr>
		    </table>
		</div>
		<div class="mini-fit">
		    <div id="datagrid" class="search-datagrid main-auto-content" idField="entityid" showCheckBox="true" multiSelect="true"
	         alternatingRows="true" ondrawcell="ondrawcell" style="height: 100%;width: 100%;">
		        <div property="columns">
		            <div type="checkcolumn"></div>
		            <div type="indexcolumn" width="50" headAlign="center" textAlign="center">序号</div>
		            <div field="settlestall" width="200" headAlign="center" textAlign="left" allowSort="true">入驻摊位</div>
		            <div field="marketname" width="200" headAlign="center" textAlign="left" allowSort="true">市场名称</div>
		            <div field="merchantname" width="200" headAlign="center" textAlign="right" allowSort="true">商户名称</div>
		        </div>
		    </div>
		</div>
		<script type="text/javascript" th:src="@{{js}/pc/merchantsettles/homepage.js(js=${js})}"></script>
	</body>
</html>
